@charset "UTF-8";
html,
body {
  background: url("../../assets/images/home/bg.png") no-repeat;
  background-size: cover;
  width: 100%;
}

.home .tar {
  text-align: right;
}

.home .tac {
  text-align: center;
}

.home .header {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem;
}

.home .header .title {
  width: 1.58rem;
  height: 0.37rem;
  background: url("../../assets/images/home/title-v2.png") no-repeat;
  background-size: 100% 100%;
}

.home .header .search {
  width: 1.24rem;
  height: 0.48rem;
  background: url("../../assets/images/home/search.png") no-repeat;
  background-size: 100% 100%;
}

.home .banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .banner .swiper {
  width: 100%;
  height: 100%;
}

.home .banner img {
  width: 7.16rem;
  height: 3.2rem;
}

.home .news {
  width: 7.02rem;
  height: 1.12rem;
  background: #ffffff;
  border-radius: 0.16rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0.4rem auto;
}

.home .news .left {
  width: 0.6rem;
  height: 0.6rem;
  background: url("../../assets/images/home/hot-news.png") no-repeat;
  background-size: 100% 100%;
  margin: auto 0.2rem;
  box-sizing: border-box;
}

.home .news .right {
  width: 6rem;
}

.home .news .right .items .item {
  display: flex;
  padding: 0.12rem 0;
}

.home .news .right .items .item img {
  width: 0.48rem;
  height: 0.28rem;
  margin: 0 0.08rem;
}

.home .news .right .items .item .title {
  font-size: 0.24rem;
  color: #333;
  word-break: keep-all;
  /* 不换行 */
  white-space: nowrap;
  /* 不换行 */
  overflow: hidden;
  /* 内容超出宽度时隐藏超出部分的内容 */
  text-overflow: ellipsis;
  /* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
}

.home .product {
  width: 6.88rem;
  margin: 0.4rem auto;
  background: #ffffff;
  border-radius: 0.16rem;
}

.home .product .title {
  height: 0.54rem;
  font-size: 0.38rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  color: #141c30;
  line-height: 0.46rem;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

.home .product .title::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  background: url("../../assets/images/home/icon-title.png") no-repeat;
  background-size: 100% 100%;
  margin-right: 0.08rem;
}

.home .product .list {
  padding: 0.3rem;
}

.home .product .list .list-titles {
  display: flex;
  justify-content: space-between;
}

.home .product .list .list-titles .list-title {
  color: #9da7c0;
  font-size: 0.26rem;
  flex: 1;
}

.home .product .list .items .item {
  display: flex;
  display: flex;
  justify-content: space-between;
  border-bottom: 0.02rem solid #eaecf1;
  padding: 0.2rem 0;
}

.home .product .list .items .item .name {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home .product .list .items .item .name .top {
  height: 0.4rem;
  font-size: 0.28rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 700;
  color: #141c30;
  line-height: 0.34rem;
}

.home .product .list .items .item .name .bottom {
  display: flex;
  align-items: center;
  padding: 0.12rem 0;
}

.home .product .list .items .item .name .bottom .code {
  font-size: 0.26rem;
  color: #9da7c0;
}

.home .product .list .items .item .name .bottom img {
  margin-left: 0.06rem;
  width: 0.6rem;
  height: 0.36rem;
}

.home .product .list .items .item .last {
  width: 1.26rem;
  height: 0.38rem;
  font-size: 0.34rem;
  font-family: D-DIN-DIN, D-DIN-DIN;
  font-weight: bold;
  color: #e46050;
  line-height: 0.4rem;
  flex: 1;
  padding-top: 0.2rem;
}

.home .product .list .items .item .trend img {
  width: 1.28rem;
  height: 0.82rem;
}

.home .product .list .items .item.green .last {
  color: #51d16d;
}

.home .zw {
  height: 2rem;
}

.home .tabs {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

.home .tabs .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.2rem 0;
}

.home .tabs .tab img {
  width: 0.48rem;
  height: 0.48rem;
}

.home .tabs .tab .text {
  font-size: 0.24rem;
  font-family: PingFang SC, PingFang SC;
  color: #9da7c0;
  line-height: 0.28rem;
  margin: 0.2rem 0;
}

.home .tabs .tab.active .text {
  color: #0066ff;
  font-weight: 700;
}

.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal .content {
  position: relative;
  top: -1.2rem;
}

.modal .content .card {
  width: 5.8rem;
  height: 7.98rem;
  background: url("../../assets/images/home/modal.png") no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.modal .content .card .btn {
  width: 5rem;
  height: 0.96rem;
  line-height: 0.96rem;
  text-align: center;
  border-radius: 9.99rem;
  font-size: 0.32rem;
  color: #fff;
  background-color: #0066ff;
  position: absolute;
  bottom: 0.68rem;
  left: 0;
  right: 0;
  margin: auto;
}

.modal .content .close {
  width: 0.64rem;
  height: 0.64rem;
  background: url("../../assets/images/home/icon-close.png") no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 0;
  right: 0;
  margin: 1.2rem auto 0;
}
